/**
 * 
 */
package org.mhz.sit.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Immutable;

/**
 * @author Mahan
 *
 * Language table
 */
@Entity
@Table(name = "language_t")
@Immutable
@SuppressWarnings("serial")
public class Language
{
    @Id
    @Column(name = "id")
    private Integer mId;
    
    @Column(name = "label")
    private String mLabel;
    
    @Column(name = "description")
    private String mDescription;

    /**
     * @return Returns the id.
     */
    public Integer getId()
    {
        return mId;
    }

    /**
     * @param aId The id to set.
     */
    public void setId(final Integer aId)
    {
        mId = aId;
    }

    /**
     * @return Returns the label.
     */
    public String getLabel()
    {
        return mLabel;
    }

    /**
     * @param aLabel The label to set.
     */
    public void setLabel(final String aLabel)
    {
        mLabel = aLabel;
    }

    /**
     * @return Returns the description.
     */
    public String getDescription()
    {
        return mDescription;
    }

    /**
     * @param aDescription The description to set.
     */
    public void setDescription(final String aDescription)
    {
        mDescription = aDescription;
    }

    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString()
    {
        return "Language [Id=" + mId + ", Label=" + mLabel
                + ", Description=" + mDescription + "]";
    }      
}
